
public class MinimumRotated {
	  
   public int findMin(int[] num) {
	    
	   if(num.length==0)
		   return -1;
	   
	  int min=num[0];
	  for(int i=1;i<num.length;i++){
		  if(num[i]<min)
			  min=num[i];
	  }
	  return min;
  }
}
